package com.ruoyi.mapper;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SysParameterMapper {

    List<Map<String, Object>> findNameByType(String type);

    String findIdByName(@Param("name") String name, @Param("type") String type);

    int remove(@Param("ids") String ids);

    Map<String, Object> findParameter(String id);

    int add(Map<String, Object> map);

    int edit(Map<String, Object> map);

    int checkNameUnique(Map<String, Object> map);
}
